package com.lzw.breezeNovel.model.entity.pojo.novel;

import com.lzw.breezeNovel.model.entity.pojo.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity
 * @date 2025/3/2
 * @description 书架实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class BookSelf extends BaseEntity {

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "小说id")
    private Long bookId;

    @Schema(description = "创建时间")
    private Date addTime;

    @Schema(description = "书籍列表")
    private Book books;

}
